package org.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.domain.ResponseResult;
import org.example.domain.dto.insertUserDto;
import org.example.domain.entity.UserRole;

public interface UserRoleService extends IService<UserRole> {
    ResponseResult getRoleIdByUserId(Integer id);

    void deleteByUserId(Integer id);

    void addUserRole(insertUserDto insertUserDto);
}
